<!-- XHTML 1.0 Strict -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<meta name="author" content="Rachid Touzani" />
<meta name="keywords" content=" css, dropdowns, dropdown menu, drop-down, menu, navigation, nav, horizontal, vertical left-to-right, vertical right-to-left, horizontal linear, horizontal upwards, cross browser, internet explorer, ie, firefox, safari, opera, browser, lwis" />
<meta name="description" content="Clean, standards-friendly, modular framework for dropdown menus" />
<link href="../css/dropdown.vertical.css" media="screen" rel="stylesheet" type="text/css" />
<link href="../css/default.ultimate.css" media="screen" rel="stylesheet" type="text/css" />
<head>
<!-- Title -->
<title>OFELI - Documentation</title>
<!-- Stylesheet -->
<link rel="stylesheet" type="text/css" href="../doxygen.css" />
<link rel="stylesheet" type="text/css" href="../tabs.css" />
</head>
<body>
<p align="center">
  <img src="../im/ofeli.gif" alt="OFELI's Logo" width="300" height="90">
</p>
<p align="center"><font color="#203F5B" size="4" face="verdana,Helvetica">
<b>An Object Oriented Finite Element Library</b></font></p>
<!-- Complete Page-->
<div id="main">
<div id="mainmenu">
 <div class="text">
<!-- Menu -->
 <div class="tabs">
  <ul class="tablist">
   <li><a href="../index.html"><span>Home</span></a>
    <li><a href="../overview.html"><span>Overview</span></a>
    <li><a href="../extlib.html"><span>External Libraries</span></a>
    <li><a href="../citing.html"><span>Citing OFELI</span></a>
    <li><a href="../fformats.html"><span>File Formats</span></a>
    <li><a href="../demos.html"><span>Demo Codes</span></a>
  </ul>
 </div>
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classOFELI_1_1MeshAdapt.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classOFELI_1_1MeshAdapt-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">MeshAdapt Class Reference<div class="ingroups"><a class="el" href="group__OFELI.html">OFELI</a><a class="el" href="group__OFELI.html">OFELI</a> &raquo;  &#124; <a class="el" href="group__Mesh.html">Finite Element Mesh</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>To adapt mesh in function of given solution.  
 <a href="classOFELI_1_1MeshAdapt.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa6117ab54bf0fa3873ca8df4b3394df1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6117ab54bf0fa3873ca8df4b3394df1"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#aa6117ab54bf0fa3873ca8df4b3394df1">MeshAdapt</a> ()</td></tr>
<tr class="memdesc:aa6117ab54bf0fa3873ca8df4b3394df1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:aa6117ab54bf0fa3873ca8df4b3394df1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ba9ffa66796d93186ae62aca88f4168"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a2ba9ffa66796d93186ae62aca88f4168">MeshAdapt</a> (<a class="el" href="classOFELI_1_1Mesh.html">Mesh</a> &amp;ms)</td></tr>
<tr class="memdesc:a2ba9ffa66796d93186ae62aca88f4168"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor using initial mesh.  <a href="#a2ba9ffa66796d93186ae62aca88f4168">More...</a><br /></td></tr>
<tr class="separator:a2ba9ffa66796d93186ae62aca88f4168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2ce64299b3601479b9a8d65efe0b831"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#aa2ce64299b3601479b9a8d65efe0b831">MeshAdapt</a> (<a class="el" href="classOFELI_1_1Domain.html">Domain</a> &amp;dom)</td></tr>
<tr class="memdesc:aa2ce64299b3601479b9a8d65efe0b831"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor using a reference to class <a class="el" href="classOFELI_1_1Domain.html" title="To store and treat finite element geometric information. ">Domain</a>.  <a href="#aa2ce64299b3601479b9a8d65efe0b831">More...</a><br /></td></tr>
<tr class="separator:aa2ce64299b3601479b9a8d65efe0b831"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54125f039a9cb9ebf3932a46de719bed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54125f039a9cb9ebf3932a46de719bed"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a54125f039a9cb9ebf3932a46de719bed">~MeshAdapt</a> ()</td></tr>
<tr class="memdesc:a54125f039a9cb9ebf3932a46de719bed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a54125f039a9cb9ebf3932a46de719bed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3de3d703f8ddc8998f842375c988285"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3de3d703f8ddc8998f842375c988285"></a>
<a class="el" href="classOFELI_1_1Domain.html">Domain</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#aa3de3d703f8ddc8998f842375c988285">getDomain</a> () const </td></tr>
<tr class="memdesc:aa3de3d703f8ddc8998f842375c988285"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get reference to <a class="el" href="classOFELI_1_1Domain.html" title="To store and treat finite element geometric information. ">Domain</a> instance. <br /></td></tr>
<tr class="separator:aa3de3d703f8ddc8998f842375c988285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a913c6c03741d94f86d65690fd7d5902a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a913c6c03741d94f86d65690fd7d5902a"></a>
<a class="el" href="classOFELI_1_1Mesh.html">Mesh</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a913c6c03741d94f86d65690fd7d5902a">getMesh</a> () const </td></tr>
<tr class="memdesc:a913c6c03741d94f86d65690fd7d5902a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get reference to current mesh. <br /></td></tr>
<tr class="separator:a913c6c03741d94f86d65690fd7d5902a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add9c869a7848fd46a321f3853c553fc9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add9c869a7848fd46a321f3853c553fc9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#add9c869a7848fd46a321f3853c553fc9">set</a> (<a class="el" href="classOFELI_1_1Domain.html">Domain</a> &amp;dom)</td></tr>
<tr class="memdesc:add9c869a7848fd46a321f3853c553fc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set reference to <a class="el" href="classOFELI_1_1Domain.html" title="To store and treat finite element geometric information. ">Domain</a> instance. <br /></td></tr>
<tr class="separator:add9c869a7848fd46a321f3853c553fc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc082af2b5c0ea71e5056769a4dfa5a2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc082af2b5c0ea71e5056769a4dfa5a2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#afc082af2b5c0ea71e5056769a4dfa5a2">set</a> (<a class="el" href="classOFELI_1_1Mesh.html">Mesh</a> &amp;ms)</td></tr>
<tr class="memdesc:afc082af2b5c0ea71e5056769a4dfa5a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set reference to <a class="el" href="classOFELI_1_1Mesh.html" title="To store and manipulate finite element meshes. ">Mesh</a> instance. <br /></td></tr>
<tr class="separator:afc082af2b5c0ea71e5056769a4dfa5a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6fe5bb0ec25b8e2fec7331f7ea33afb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6fe5bb0ec25b8e2fec7331f7ea33afb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#af6fe5bb0ec25b8e2fec7331f7ea33afb">setSolution</a> (const <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;u)</td></tr>
<tr class="memdesc:af6fe5bb0ec25b8e2fec7331f7ea33afb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define label of node. <br /></td></tr>
<tr class="separator:af6fe5bb0ec25b8e2fec7331f7ea33afb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92054e84cf1692e60014e1e70f9bc639"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92054e84cf1692e60014e1e70f9bc639"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a92054e84cf1692e60014e1e70f9bc639">setJacobi</a> (int n)</td></tr>
<tr class="memdesc:a92054e84cf1692e60014e1e70f9bc639"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set number of Jacobi iterations for smoothing. <br /></td></tr>
<tr class="separator:a92054e84cf1692e60014e1e70f9bc639"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac87a4eda9e424bc16dcbb9bbd2251612"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac87a4eda9e424bc16dcbb9bbd2251612"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#ac87a4eda9e424bc16dcbb9bbd2251612">setSmooth</a> (int n)</td></tr>
<tr class="memdesc:ac87a4eda9e424bc16dcbb9bbd2251612"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set number of smoothing iterations. <br /></td></tr>
<tr class="separator:ac87a4eda9e424bc16dcbb9bbd2251612"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48a31f67db0088385e2ea13880427cdb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48a31f67db0088385e2ea13880427cdb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a48a31f67db0088385e2ea13880427cdb">AbsoluteError</a> ()</td></tr>
<tr class="memdesc:a48a31f67db0088385e2ea13880427cdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Metric is constructed with absolute error. <br /></td></tr>
<tr class="separator:a48a31f67db0088385e2ea13880427cdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a394b306c90e4573de2d0d00005647007"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a394b306c90e4573de2d0d00005647007"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a394b306c90e4573de2d0d00005647007">RelativeError</a> ()</td></tr>
<tr class="memdesc:a394b306c90e4573de2d0d00005647007"><td class="mdescLeft">&#160;</td><td class="mdescRight">Metric is constructed with relative error. <br /></td></tr>
<tr class="separator:a394b306c90e4573de2d0d00005647007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3f9e1528d7591a88b29bc73eb0bae58"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3f9e1528d7591a88b29bc73eb0bae58"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#ac3f9e1528d7591a88b29bc73eb0bae58">setError</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> err)</td></tr>
<tr class="memdesc:ac3f9e1528d7591a88b29bc73eb0bae58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set error threshold for adaption. <br /></td></tr>
<tr class="separator:ac3f9e1528d7591a88b29bc73eb0bae58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac14bf7ff70f4bd29113c4bb63e451b42"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac14bf7ff70f4bd29113c4bb63e451b42"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#ac14bf7ff70f4bd29113c4bb63e451b42">setHMin</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> h)</td></tr>
<tr class="memdesc:ac14bf7ff70f4bd29113c4bb63e451b42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set minimal mesh size. <br /></td></tr>
<tr class="separator:ac14bf7ff70f4bd29113c4bb63e451b42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e143344f0722075c19761e949177da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68e143344f0722075c19761e949177da"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a68e143344f0722075c19761e949177da">setHMax</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> h)</td></tr>
<tr class="memdesc:a68e143344f0722075c19761e949177da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set maximal mesh size. <br /></td></tr>
<tr class="separator:a68e143344f0722075c19761e949177da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06e7af71b11b80d0018a147277f24a41"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06e7af71b11b80d0018a147277f24a41"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a06e7af71b11b80d0018a147277f24a41">setHMinAnisotropy</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> h)</td></tr>
<tr class="memdesc:a06e7af71b11b80d0018a147277f24a41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set minimal mesh size and set anisotropy. <br /></td></tr>
<tr class="separator:a06e7af71b11b80d0018a147277f24a41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a464029bd28072431440d3ef6a4846e33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a464029bd28072431440d3ef6a4846e33">setRelaxation</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> omega)</td></tr>
<tr class="memdesc:a464029bd28072431440d3ef6a4846e33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set relaxation parameter for smoothing.  <a href="#a464029bd28072431440d3ef6a4846e33">More...</a><br /></td></tr>
<tr class="separator:a464029bd28072431440d3ef6a4846e33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a087557f7186e3e33eb9dd4547d1059cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a087557f7186e3e33eb9dd4547d1059cc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a087557f7186e3e33eb9dd4547d1059cc">setAnisotropic</a> ()</td></tr>
<tr class="memdesc:a087557f7186e3e33eb9dd4547d1059cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set that adapted mesh construction is anisotropic. <br /></td></tr>
<tr class="separator:a087557f7186e3e33eb9dd4547d1059cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a8e11f2b02c5d4589c949f0cfc7553d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a8e11f2b02c5d4589c949f0cfc7553d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a3a8e11f2b02c5d4589c949f0cfc7553d">MaxAnisotropy</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> a)</td></tr>
<tr class="memdesc:a3a8e11f2b02c5d4589c949f0cfc7553d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set maximum ratio of anisotropy. <br /></td></tr>
<tr class="separator:a3a8e11f2b02c5d4589c949f0cfc7553d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a99c6f3dec209b4895761752363d4c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a99c6f3dec209b4895761752363d4c3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a9a99c6f3dec209b4895761752363d4c3">setMaxSubdiv</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> s)</td></tr>
<tr class="memdesc:a9a99c6f3dec209b4895761752363d4c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the metric such that the maximal subdivision of a background's edge is bounded by the given number (always limited by 10) <br /></td></tr>
<tr class="separator:a9a99c6f3dec209b4895761752363d4c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ef0b63c6f3293b017610cc7e49261a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a8ef0b63c6f3293b017610cc7e49261a3">setMaxNbVertices</a> (size_t n)</td></tr>
<tr class="memdesc:a8ef0b63c6f3293b017610cc7e49261a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set maximum number of vertices.  <a href="#a8ef0b63c6f3293b017610cc7e49261a3">More...</a><br /></td></tr>
<tr class="separator:a8ef0b63c6f3293b017610cc7e49261a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad62f313493a077dae26b4af44ba03316"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#ad62f313493a077dae26b4af44ba03316">setRatio</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> r)</td></tr>
<tr class="memdesc:ad62f313493a077dae26b4af44ba03316"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set ratio for a smoothing of the metric.  <a href="#ad62f313493a077dae26b4af44ba03316">More...</a><br /></td></tr>
<tr class="separator:ad62f313493a077dae26b4af44ba03316"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa62c330442ea095207dc45d7daaa3528"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#aa62c330442ea095207dc45d7daaa3528">setNoScaling</a> ()</td></tr>
<tr class="memdesc:aa62c330442ea095207dc45d7daaa3528"><td class="mdescLeft">&#160;</td><td class="mdescRight">Do not scale solution before metric computation.  <a href="#aa62c330442ea095207dc45d7daaa3528">More...</a><br /></td></tr>
<tr class="separator:aa62c330442ea095207dc45d7daaa3528"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06a65dc21320f2d34ea092779cb1e979"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a06a65dc21320f2d34ea092779cb1e979">setNoKeep</a> ()</td></tr>
<tr class="memdesc:a06a65dc21320f2d34ea092779cb1e979"><td class="mdescLeft">&#160;</td><td class="mdescRight">Do not keep old vertices.  <a href="#a06a65dc21320f2d34ea092779cb1e979">More...</a><br /></td></tr>
<tr class="separator:a06a65dc21320f2d34ea092779cb1e979"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae013f8f6427e16c41e56c6ba27f30f79"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae013f8f6427e16c41e56c6ba27f30f79"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#ae013f8f6427e16c41e56c6ba27f30f79">setHessian</a> ()</td></tr>
<tr class="memdesc:ae013f8f6427e16c41e56c6ba27f30f79"><td class="mdescLeft">&#160;</td><td class="mdescRight">set computation of the Hessian <br /></td></tr>
<tr class="separator:ae013f8f6427e16c41e56c6ba27f30f79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62a837044483e9422c37cf5d48af98f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62a837044483e9422c37cf5d48af98f2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a62a837044483e9422c37cf5d48af98f2">setOutputMesh</a> (string file)</td></tr>
<tr class="memdesc:a62a837044483e9422c37cf5d48af98f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create mesh output file. <br /></td></tr>
<tr class="separator:a62a837044483e9422c37cf5d48af98f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fb3761d1c52d46abc29c6a99d7e162f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6fb3761d1c52d46abc29c6a99d7e162f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a6fb3761d1c52d46abc29c6a99d7e162f">setGeoFile</a> (string file)</td></tr>
<tr class="memdesc:a6fb3761d1c52d46abc29c6a99d7e162f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set Geometry file. <br /></td></tr>
<tr class="separator:a6fb3761d1c52d46abc29c6a99d7e162f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a376ffa7d5cba90e34d136aa09295b8b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a376ffa7d5cba90e34d136aa09295b8b8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a376ffa7d5cba90e34d136aa09295b8b8">setGeoError</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> e)</td></tr>
<tr class="memdesc:a376ffa7d5cba90e34d136aa09295b8b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set error on geometry. <br /></td></tr>
<tr class="separator:a376ffa7d5cba90e34d136aa09295b8b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada5430cec0321b023e19b96d9084d50c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada5430cec0321b023e19b96d9084d50c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#ada5430cec0321b023e19b96d9084d50c">setBackgroundMesh</a> (string bgm)</td></tr>
<tr class="memdesc:ada5430cec0321b023e19b96d9084d50c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set background mesh. <br /></td></tr>
<tr class="separator:ada5430cec0321b023e19b96d9084d50c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75b8adde22719b5eca87a7dff501a9c4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75b8adde22719b5eca87a7dff501a9c4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a75b8adde22719b5eca87a7dff501a9c4">SplitBoundaryEdges</a> ()</td></tr>
<tr class="memdesc:a75b8adde22719b5eca87a7dff501a9c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Split edges with two vertices on boundary. <br /></td></tr>
<tr class="separator:a75b8adde22719b5eca87a7dff501a9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6d4c6c4a3ccee6bb2cb48149b183753"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac6d4c6c4a3ccee6bb2cb48149b183753"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#ac6d4c6c4a3ccee6bb2cb48149b183753">CreateMetricFile</a> (string mf)</td></tr>
<tr class="memdesc:ac6d4c6c4a3ccee6bb2cb48149b183753"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a metric file. <br /></td></tr>
<tr class="separator:ac6d4c6c4a3ccee6bb2cb48149b183753"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80c4343db4468e3023e1859f33718d56"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80c4343db4468e3023e1859f33718d56"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a80c4343db4468e3023e1859f33718d56">setMetricFile</a> (string mf)</td></tr>
<tr class="memdesc:a80c4343db4468e3023e1859f33718d56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set Metric file. <br /></td></tr>
<tr class="separator:a80c4343db4468e3023e1859f33718d56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a52ac9f0a5dbd8b3c7f5c091d009454"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a52ac9f0a5dbd8b3c7f5c091d009454"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a6a52ac9f0a5dbd8b3c7f5c091d009454">getSolutionMbb</a> (string mbb)</td></tr>
<tr class="memdesc:a6a52ac9f0a5dbd8b3c7f5c091d009454"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set solution defined on background mesh for metric construction. <br /></td></tr>
<tr class="separator:a6a52ac9f0a5dbd8b3c7f5c091d009454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d854097ed39a22de2cd3367b736ca65"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d854097ed39a22de2cd3367b736ca65"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a4d854097ed39a22de2cd3367b736ca65">getSolutionMBB</a> (string mBB)</td></tr>
<tr class="memdesc:a4d854097ed39a22de2cd3367b736ca65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set solution defined on background mesh for metric construction. <br /></td></tr>
<tr class="separator:a4d854097ed39a22de2cd3367b736ca65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b6f5a011b564c4dbfa63cce835967f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a6b6f5a011b564c4dbfa63cce835967f5">getSolutionbb</a> (string rbb)</td></tr>
<tr class="memdesc:a6b6f5a011b564c4dbfa63cce835967f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read solution defined on the background mesh in <code>bb</code> file.  <a href="#a6b6f5a011b564c4dbfa63cce835967f5">More...</a><br /></td></tr>
<tr class="separator:a6b6f5a011b564c4dbfa63cce835967f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a563fc808abcb485ae654343ed3a3a437"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a563fc808abcb485ae654343ed3a3a437">getSolutionBB</a> (string rBB)</td></tr>
<tr class="memdesc:a563fc808abcb485ae654343ed3a3a437"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read solution defined on the background mesh in <code>BB</code> file.  <a href="#a563fc808abcb485ae654343ed3a3a437">More...</a><br /></td></tr>
<tr class="separator:a563fc808abcb485ae654343ed3a3a437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72e62652346f3d2316a48e02d1d8e52b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a72e62652346f3d2316a48e02d1d8e52b">getSolution</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;u, int is=1)</td></tr>
<tr class="memdesc:a72e62652346f3d2316a48e02d1d8e52b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the interpolated solution on the new mesh.  <a href="#a72e62652346f3d2316a48e02d1d8e52b">More...</a><br /></td></tr>
<tr class="separator:a72e62652346f3d2316a48e02d1d8e52b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85b9c256e10ffe3b5119b4d4ac7faca5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85b9c256e10ffe3b5119b4d4ac7faca5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a85b9c256e10ffe3b5119b4d4ac7faca5">getInterpolatedSolutionbb</a> ()</td></tr>
<tr class="memdesc:a85b9c256e10ffe3b5119b4d4ac7faca5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the file of interpolation of the solutions in <code>bb</code> file. <br /></td></tr>
<tr class="separator:a85b9c256e10ffe3b5119b4d4ac7faca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a069a0662984a649f573ba7ca53eb0663"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a069a0662984a649f573ba7ca53eb0663"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a069a0662984a649f573ba7ca53eb0663">getInterpolatedSolutionBB</a> ()</td></tr>
<tr class="memdesc:a069a0662984a649f573ba7ca53eb0663"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the file of interpolation of the solutions in <code>BB</code> file. <br /></td></tr>
<tr class="separator:a069a0662984a649f573ba7ca53eb0663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ade5f14a3437b620c6adb38db503403"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a3ade5f14a3437b620c6adb38db503403">setTheta</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> theta)</td></tr>
<tr class="memdesc:a3ade5f14a3437b620c6adb38db503403"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set angular limit for a corner (in degrees)  <a href="#a3ade5f14a3437b620c6adb38db503403">More...</a><br /></td></tr>
<tr class="separator:a3ade5f14a3437b620c6adb38db503403"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf64556993531027a9dbea15a9d67b35"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf64556993531027a9dbea15a9d67b35"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#aaf64556993531027a9dbea15a9d67b35">Split</a> ()</td></tr>
<tr class="memdesc:aaf64556993531027a9dbea15a9d67b35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Split triangles into 4 triangles. <br /></td></tr>
<tr class="separator:aaf64556993531027a9dbea15a9d67b35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a6eb880fcccf046b9a11afddef55b20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a9a6eb880fcccf046b9a11afddef55b20">saveMbb</a> (string file, const <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;u)</td></tr>
<tr class="memdesc:a9a6eb880fcccf046b9a11afddef55b20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save a solution in metric file.  <a href="#a9a6eb880fcccf046b9a11afddef55b20">More...</a><br /></td></tr>
<tr class="separator:a9a6eb880fcccf046b9a11afddef55b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58e8be2db2660128e4e6456a9c981fb5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a58e8be2db2660128e4e6456a9c981fb5">run</a> ()</td></tr>
<tr class="memdesc:a58e8be2db2660128e4e6456a9c981fb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run adaptation process.  <a href="#a58e8be2db2660128e4e6456a9c981fb5">More...</a><br /></td></tr>
<tr class="separator:a58e8be2db2660128e4e6456a9c981fb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a531132933aee415619e0437cf0f289fa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a531132933aee415619e0437cf0f289fa">run</a> (const <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;u)</td></tr>
<tr class="memdesc:a531132933aee415619e0437cf0f289fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run adaptation process using a solution vector.  <a href="#a531132933aee415619e0437cf0f289fa">More...</a><br /></td></tr>
<tr class="separator:a531132933aee415619e0437cf0f289fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0033b1255942d64e3e9370c7f8f4da83"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1MeshAdapt.html#a0033b1255942d64e3e9370c7f8f4da83">run</a> (const <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;u, <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;v)</td></tr>
<tr class="memdesc:a0033b1255942d64e3e9370c7f8f4da83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run adaptation process using a solution vector and interpolates solution on the adapted mesh.  <a href="#a0033b1255942d64e3e9370c7f8f4da83">More...</a><br /></td></tr>
<tr class="separator:a0033b1255942d64e3e9370c7f8f4da83"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>To adapt mesh in function of given solution. </p>
<p>Class <a class="el" href="classOFELI_1_1MeshAdapt.html" title="To adapt mesh in function of given solution. ">MeshAdapt</a> enables modifying mesh according to a solution vector defining at nodes. It concerns 2-D triangular meshes only. </p><dl class="section remark"><dt>Remarks</dt><dd>Class <a class="el" href="classOFELI_1_1MeshAdapt.html" title="To adapt mesh in function of given solution. ">MeshAdapt</a> is mainly based on the software 'Bamg' developed by F. Hecht, Universite Pierre et Marie Curie, Paris. We warmly thank him for accepting incoporation of Bamg in the <a class="el" href="namespaceOFELI.html" title="A namespace to group all library classes, functions, ... ">OFELI</a> package</dd></dl>
<dl class="section author"><dt>Author</dt><dd>Rachid Touzani </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>GNU Lesser Public License </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2ba9ffa66796d93186ae62aca88f4168"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOFELI_1_1MeshAdapt.html">MeshAdapt</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Mesh.html">Mesh</a> &amp;&#160;</td>
          <td class="paramname"><em>ms</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor using initial mesh. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ms</td><td>Reference to initial mesh </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa2ce64299b3601479b9a8d65efe0b831"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOFELI_1_1MeshAdapt.html">MeshAdapt</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Domain.html">Domain</a> &amp;&#160;</td>
          <td class="paramname"><em>dom</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor using a reference to class <a class="el" href="classOFELI_1_1Domain.html" title="To store and treat finite element geometric information. ">Domain</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">dom</td><td>Reference to <a class="el" href="classOFELI_1_1Domain.html" title="To store and treat finite element geometric information. ">Domain</a> class </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a464029bd28072431440d3ef6a4846e33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setRelaxation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>omega</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set relaxation parameter for smoothing. </p>
<p>Default value for relaxation parameter is 1.8 </p>

</div>
</div>
<a class="anchor" id="a8ef0b63c6f3293b017610cc7e49261a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setMaxNbVertices </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set maximum number of vertices. </p>
<p>Default value is 500000 </p>

</div>
</div>
<a class="anchor" id="ad62f313493a077dae26b4af44ba03316"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setRatio </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set ratio for a smoothing of the metric. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>Ratio value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If <code>r</code> is 0 then no smoothing is performed, if <code>r</code> lies in <code>[1.1,10]</code> then the smoothing changes the metric such that the largest geometrical progression (speed of mesh size variation in mesh is bounded by <code>r</code>) (by default no smoothing) </dd></dl>

</div>
</div>
<a class="anchor" id="aa62c330442ea095207dc45d7daaa3528"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setNoScaling </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Do not scale solution before metric computation. </p>
<p>By default, solution is scaled (between 0 and 1) </p>

</div>
</div>
<a class="anchor" id="a06a65dc21320f2d34ea092779cb1e979"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setNoKeep </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Do not keep old vertices. </p>
<p>By default, old vertices are kept </p>

</div>
</div>
<a class="anchor" id="a6b6f5a011b564c4dbfa63cce835967f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void getSolutionbb </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>rbb</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read solution defined on the background mesh in <code>bb</code> file. </p>
<p>Solution is interpolated on created mesh </p>

</div>
</div>
<a class="anchor" id="a563fc808abcb485ae654343ed3a3a437"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void getSolutionBB </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>rBB</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read solution defined on the background mesh in <code>BB</code> file. </p>
<p>Solution is interpolated on created mesh </p>

</div>
</div>
<a class="anchor" id="a72e62652346f3d2316a48e02d1d8e52b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void getSolution </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>is</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the interpolated solution on the new mesh. </p>
<p>The solution must have been saved on an output bb file </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">u</td><td>Vector that contains on output the obtained solutions. This vector is resized before being initialized </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">is</td><td>[Default: <code>1</code>] </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3ade5f14a3437b620c6adb38db503403"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setTheta </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>theta</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set angular limit for a corner (in degrees) </p>
<p>The angle is defined from 2 normals of 2 consecutive edges </p>

</div>
</div>
<a class="anchor" id="a9a6eb880fcccf046b9a11afddef55b20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void saveMbb </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>u</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Save a solution in metric file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File name where the metric is stored </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">u</td><td>Solution vector to store </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a58e8be2db2660128e4e6456a9c981fb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run adaptation process. </p>
<dl class="section return"><dt>Returns</dt><dd>Return code: <ul>
<li>
= 0: Adaptation has been normally completed </li>
<li>
= 1: An error occured </li>
</ul>
</dd></dl>

</div>
</div>
<a class="anchor" id="a531132933aee415619e0437cf0f289fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int run </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>u</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run adaptation process using a solution vector. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">u</td><td>Solution vector defined on the input mesh </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Return code: <ul>
<li>
= 0: Adaptation has been normally completed </li>
<li>
= 1: An error occured </li>
</ul>
</dd></dl>

</div>
</div>
<a class="anchor" id="a0033b1255942d64e3e9370c7f8f4da83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int run </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run adaptation process using a solution vector and interpolates solution on the adapted mesh. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">u</td><td>Solution vector defined on the input mesh </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td>Solution vector defined on the (adapted) output mesh </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Return code: <ul>
<li>
= 0: Adaptation has been normally completed </li>
<li>
= 1: An error occured </li>
</ul>
</dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->

</div> <!-- class text -->
</div> <!-- main menu -->
<!-- Google Search -->
<br><br>
<center>
  <div id="cse" style="width: 80%;">Loading</div>
  <script src="http://www.google.com/jsapi" type="text/javascript"></script>
  <script type="text/javascript"> 
     google.load('search', '1', {language : 'en', style : google.loader.themes.SHINY});
     google.setOnLoadCallback(function() {
        var customSearchOptions = {};  var customSearchControl = new google.search.CustomSearchControl(
        '012396140824982761142:-qrywxcfi_o', customSearchOptions);
        customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
        customSearchControl.draw('cse');
     }, true);
   </script>
   <style type="text/css">
     .gsc-control-cse {
     font-family: Verdana, sans-serif;
     border-color: #DAE0E5;
     background-color: #DAE0E5;
   }
   .gsc-control-cse .gsc-table-result { font-family: Verdana, sans-serif; }
   input.gsc-input { border-color: #B6BEC5; }
   input.gsc-search-button {
     border-color: #B6BEC5;
     background-color: #D0D1D4;
   }
   .gsc-tabHeader.gsc-tabhInactive {
     border-color: #999999;
     background-color: #EEEEEE;
   }
   .gsc-tabHeader.gsc-tabhActive {
     border-color: #999999;
     background-color: #999999;
   }
   .gsc-tabsArea { border-color: #999999; }
   .gsc-webResult.gsc-result,
   .gsc-results .gsc-imageResult {
     border-color: #FFFFFF;
     background-color: #FFFFFF;
   }
   .gsc-webResult.gsc-result:hover,
   .gsc-imageResult:hover {
     border-color: #D2D6DC;
     background-color: #EDEDED;
   }
   .gsc-webResult.gsc-result.gsc-promotion:hover {
     border-color: #D2D6DC;
     background-color: #EDEDED;
   }
   .gs-webResult.gs-result a.gs-title:link,
   .gs-webResult.gs-result a.gs-title:link b,
   .gs-imageResult a.gs-title:link,
   .gs-imageResult a.gs-title:link b { color: #0568CD; }
   .gs-webResult.gs-result a.gs-title:visited,
   .gs-webResult.gs-result a.gs-title:visited b,
   .gs-imageResult a.gs-title:visited,
   .gs-imageResult a.gs-title:visited b { color: #0568CD; }
   .gs-webResult.gs-result a.gs-title:hover,
   .gs-webResult.gs-result a.gs-title:hover b,
   .gs-imageResult a.gs-title:hover,
   .gs-imageResult a.gs-title:hover b { color: #0568CD; }
   .gs-webResult.gs-result a.gs-title:active,
   .gs-webResult.gs-result a.gs-title:active b,
   .gs-imageResult a.gs-title:active,
   .gs-imageResult a.gs-title:active b { color: #0568CD; }
   .gsc-cursor-page { color: #0568CD; }
   a.gsc-trailing-more-results:link { color: #0568CD; }
   .gs-webResult .gs-snippet,
   .gs-imageResult .gs-snippet,
   .gs-fileFormatType { color: #5F6A73; }
   .gs-webResult div.gs-visibleUrl,
   .gs-imageResult div.gs-visibleUrl { color: #5F6A73; }
   .gs-webResult div.gs-visibleUrl-short { color: #5F6A73; }
   .gs-webResult div.gs-visibleUrl-short { display: none; }
   .gs-webResult div.gs-visibleUrl-long { display: block; }
   .gs-promotion div.gs-visibleUrl-short { display: none; }
   .gs-promotion div.gs-visibleUrl-long { display: block; }
   .gsc-cursor-box { border-color: #FFFFFF; }
   .gsc-results .gsc-cursor-box .gsc-cursor-page {
      border-color: #999999;
      background-color: #FFFFFF;
      color: #0568CD;
   }
   .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
      border-color: #999999;
      background-color: #999999;
      color: #0568CD;
   }
   .gsc-webResult.gsc-result.gsc-promotion {
      border-color: #D2D6DC;
      background-color: #D0D1D4;
   }
   .gsc-completion-title { color: #0568CD; }
   .gsc-completion-snippet { color: #5F6A73; }
   .gs-promotion a.gs-title:link,
   .gs-promotion a.gs-title:link *,
   .gs-promotion .gs-snippet a:link { color: #0066CC; }
   .gs-promotion a.gs-title:visited,
   .gs-promotion a.gs-title:visited *,
   .gs-promotion .gs-snippet a:visited { color: #0066CC; }
   .gs-promotion a.gs-title:hover,
   .gs-promotion a.gs-title:hover *,
   .gs-promotion .gs-snippet a:hover { color: #0066CC; }
   .gs-promotion a.gs-title:active,
   .gs-promotion a.gs-title:active *,
   .gs-promotion .gs-snippet a:active { color: #0066CC; }
   .gs-promotion .gs-snippet,
   .gs-promotion .gs-title .gs-promotion-title-right,
   .gs-promotion .gs-title .gs-promotion-title-right *  { color: #333333; }
   .gs-promotion .gs-visibleUrl,
   .gs-promotion .gs-visibleUrl-short { color: #5F6A73; }
   </style>
</center>
<!-- End of Google Search Box -->
<br><br><br></p>
<div id="foot_bar">
  Copyright &copy; 1998-2019 Rachid Touzani&nbsp;
</div>
</div> <!-- main -->
</body>
</HTML>
